package com.example.banksys;

import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleLongProperty;
import javafx.beans.property.SimpleStringProperty;

public class subAccount {
    protected SimpleLongProperty type_ID;
    protected SimpleStringProperty type_name;
    protected SimpleDoubleProperty sub_balance;
    protected  SimpleStringProperty start_date;
    protected SimpleStringProperty latest_update;

    public subAccount(){
        type_ID=new SimpleLongProperty();
        type_name=new SimpleStringProperty();
        sub_balance=new SimpleDoubleProperty();
        start_date=new SimpleStringProperty();
        latest_update=new SimpleStringProperty();
    }

    public long getType_ID() {
        return type_ID.get();
    }
    public double getSub_balance() {
        return sub_balance.get();
    }
    public String getLatest_update() {
        return latest_update.get();
    }
    public String getStart_date() {
        return start_date.get();
    }
    public String getType_name() {
        return type_name.get();
    }

    public void setLatest_update(String latest_update) {
        this.latest_update.set(latest_update);
    }

    public void setStart_date(String start_date) {
        this.start_date.set(start_date);
    }

    public void setSub_balance(double sub_balance) {
        this.sub_balance.set(sub_balance);
    }

    public void setType_ID(long type_ID) {
        this.type_ID.set(type_ID);
    }

    public void setType_name(String type_name) {
        this.type_name.set(type_name);
    }
}
